import { StrictMode, version } from 'react'
import { createRoot } from 'react-dom/client'
import { createBrowserRouter, RouterProvider } from 'react-router'
import { routes } from './routes.ts'
import './main.css'

(()=>{
    console.log(`React(${version})`)

    const router = createBrowserRouter(routes);

    createRoot(document.getElementById('App')!).render(
        <StrictMode>
            <RouterProvider router={router} />
        </StrictMode>
    )
})();
